package com.mryan.metrics;

import com.mryan.metrics.utils.IdGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@EnableAspectJAutoProxy
public class MetricsApplication {

    public static void main(String[] args) {
        for (int i=0;i<100;i++){
            System.out.println(IdGenerator.getInstance().getId());
        }
        SpringApplication.run(MetricsApplication.class, args);
    }


}
